const columns = [
  {
    title: "序号",
    dataIndex: "index",
    key: "index",
    align: "center",
    customRender: (text, record, index) => `${index + 1}`,
  },
  {
    title: "员工姓名",
    dataIndex: "name",
    key: "name",
  },
  {
    title: "性别",
    dataIndex: "sex",
    key: "sex",
  },
  {
    title: "状态",
    key: "staus",
    dataIndex: "staus",
  },
  {
    title: "部门",
    key: "department",
    dataIndex: "department",
  },
  {
    title: "职务",
    key: "sortq",
    dataIndex: "sortq",
  },
  {
    title: "身份证号",
    key: "identityCard",
    dataIndex: "identityCard",
  },
  {
    title: "移动电话",
    key: "phone",
    dataIndex: "phone",
  },
  {
    title: "籍贯",
    key: "nativePlace",
    dataIndex: "nativePlace",
  },
  {
    title: "操作",
    width:150,
    dataIndex: "action",
    align: "center",
    fixed: "right",
    width: 150,
    scopedSlots: { customRender: "action" },
  },
];

export { columns };
